package com.anlen.sign;

import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;

public class SharePreferenceService {
	public static void saveInfo(Context context,String name,String password){
		
			SharedPreferences sp=context.getSharedPreferences("config", Context.MODE_PRIVATE);
			Editor ed=sp.edit();
			ed.putString("username", name);
			ed.putString("password", password);
			ed.commit();	
	}
}
